package com.qiqichangting.changting.mapper;


import com.qiqichangting.changting.pojo.User;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;

@Repository
@Mapper
public interface UserMapper {

    User login(@Param("username") String username, @Param("password") String password);


    User findByUser(@Param("username") String username);

    boolean addUser(@Param("User")User user);
}


